#!/usr/bin/env python3 
# -- coding:utf-8 --

import numpy as np

a= np.array([1,2,3])
print(a) # [1,2,3]

#多于一个维度
a=np.array([[1,2], [3,4]])
print(a)

# 最小维度  
a = np.array([1,  2,  3,4,5], ndmin =  2)  
print (a)

#数组
print("---------------")
x = np.empty([3,2],dtype = int )
print(x )